/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package animales;
/**
 *
 * @author COEV
 */
public class Marinos extends Mamiferos{
    protected int numAletas;
    protected String color;
    
    public Marinos(int numPa, String nom, int numA, String co){
        super(numPa,nom);
        numAletas=numA;
        color=co;
    }
    public int getNumAletas() {
        return numAletas;
    }
    public void setNumAletas(int numAletas) {
        this.numAletas = numAletas;
    }
    @Override
    public String imprimirInfo(){
       return getNombre()+" "+numPatas+" "+numAletas+" "+color; 
    }    
}
